package com.hiyee.pojo.repo;

import com.hiyee.pojo.BasePojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 购物车结算数据
 *
 * @author WangBin
 */
public class CartCheckoutRepo extends BasePojo {
    private Long cartId;
    private Long storeId;
    private Long customerId;
    private String customerName;
    private BigDecimal totalAmount;
    private Integer totalQty;
    private BigDecimal payAmount;
    private BigDecimal couponAmount;
    private BigDecimal marketingAmount;
    private List<CartItemRepo> items =new ArrayList<>();
    private List<Object> couponList = new ArrayList<>();

    public List<Object> getCouponList() {
        return couponList;
    }

    public void setCouponList(List<Object> couponList) {
        this.couponList = couponList;
    }

    public BigDecimal getCouponAmount() {
        return couponAmount;
    }

    public void setCouponAmount(BigDecimal couponAmount) {
        this.couponAmount = couponAmount;
    }

    public BigDecimal getMarketingAmount() {
        return marketingAmount;
    }

    public void setMarketingAmount(BigDecimal marketingAmount) {
        this.marketingAmount = marketingAmount;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Long getCartId() {
        return cartId;
    }

    public void setCartId(Long cartId) {
        this.cartId = cartId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getTotalQty() {
        return totalQty;
    }

    public void setTotalQty(Integer totalQty) {
        this.totalQty = totalQty;
    }

    public List<CartItemRepo> getItems() {
        return items;
    }

    public void setItems(List<CartItemRepo> items) {
        this.items = items;
    }
}
